# ########## Project setup ##########
PROJECT(Undead-Debacle)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)

# ######### General setup ##########
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
find_package(SFML REQUIRED)
# ########## Undead-Debacle executable ##########
# Sources:
SET(UD_SOURCES
    main.cpp
    Manager.cpp
    Utils.cpp
    Entities.cpp
    Map.cpp
    Collision.cpp
)

# Headers:
SET(UD_HEADERS
    Entities.h
    Manager.h
    Utils.h
    Collision.h
    Map.h
    convert.h
)
SET(EXECUTABLE_NAME
    Undead-Debacle
)


# actual target:
ADD_EXECUTABLE(${EXECUTABLE_NAME} ${UD_SOURCES})
target_link_libraries(${EXECUTABLE_NAME} ${SFML_LIBRARY})
# add install target:
#INSTALL(TARGETS Undead-Debacle DESTINATION bin)
